package com.woniuxy.moneyapp.infra.model;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author seven
 * @since 2022-08-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ReturnCash implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer payerId;

    private Integer payeeId;

    private BigDecimal cashAmount;

    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    private String corderNum;

    private String reason;

    private Integer state;//0为解决 1已解决

    @TableField(value = "response_time",fill = FieldFill.UPDATE)
    private LocalDateTime responseTime;

    private Integer scence;

    private Integer payment;

    private Integer corderId;

    /**
     * 0未删 1已经删除
     */
    private Integer delete;


}
